package com.example.demo.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.entity.Articleinfo;
import com.example.demo.entity.BlogRecycle;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Entity generator.domain.BlogRecycle
 */
@Mapper
public interface BlogRecycleMapper extends BaseMapper<BlogRecycle> {

    List<BlogRecycle> getlist(@Param("uid") Integer uid);

    int add(BlogRecycle blogRecycle);

    BlogRecycle getBlogRecycleById(@Param("id") Integer id);

    int delete(@Param("id") Integer id,@Param("uid") Integer uid);
    int deleteForever(@Param("id") Integer id,@Param("uid") Integer uid);
}




